package com.example.drzhang.oengldemo.util;

/**
 * Created by drzhang on 2018/1/10.
 */

public class ObjectBuilder {

    private static final int FLOATS_PER_VERTEX = 3;
    private float[] vertexData;
    private int offset;

    public ObjectBuilder(int sizeInVertices) {
        vertexData = new float[sizeInVertices * FLOATS_PER_VERTEX];
    }

    public static int sizeofCircleInVertices(int numPoints){
        return numPoints + 2;
    }

    public static int sizeofOpenCylinderInVertices(int numPoints){
        return numPoints + 3;
    }
}
